package com.limox.bishe.app;

import android.app.Application;
import android.text.format.Time;

public class APP extends Application {

	private static String Jw_url[] = { "jw.jluzh.com" };

	public static String SchoolIdHead[] = { "001" };// (吉林大学珠海学院：001)
	
	public static String SchoolName[] = { "吉林大学珠海学院" };// (学校名称，与SchoolIdHead对应)

	public static float MENU_border_Width = (float) 0.7; // 侧滑界面的范围

	private static int WeekNow = 7; // 当前周数；
	
	private static int WeekCount=21; //总周数

	private static int JieCount = 5; // 一天的节数

	private static String[] lessonTime = { "08:20", "10:20",
			"14:00", "16:00", "19:10" }; // 默认上课时间 ,数量必须等于JieCount;

	/**
	 * 
	 * 获取教务网站地址
	 * 
	 * @param i
	 * @return
	 */
	public static String getUrl(int i) {
		return Jw_url[i];
	}

	/**
	 * 获取当前周数
	 * 
	 * @return
	 */
	public static int getWeekNow() {
		return WeekNow;
	}
	/**
	 * 设置当前周数
	 * @param week
	 */
	public static void SetWeekNow(int week){
		 WeekNow=week;
	}

	public static int getJieCount() {
		return JieCount;
	}

	public static void setJieChout(int newJieCount) {
		JieCount = newJieCount;
	}

	
	
	/**
	 * 返回第（i+1）节课的时间
	 * @param i  时间数组参数
	 * @return
	 */
	public static String getLessonTime(int i){
		return lessonTime[i];
	}
	
	/**
	 * 获取总周数
	 * @return
	 */
	public static int getWeekCount(){
		return WeekCount;
	}

}
